Mechanical legs